package com.book.derecated.state;

import org.springframework.stereotype.Component;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: TODO
 * @date 2023/12/4 21:59
 */
@Component
public class DeprecatedReceiveOrder extends DeprecatedAbstractOrderState{
    @Override
    protected DeprecatedOrder receiveOrder(String orderId, DeprecatedOrderContext context) {
         super.notifyObserver(orderId, ORDER_FINISH);
         return null;
    }

}
